package com.luo.service;

import com.github.pagehelper.PageInfo;
import com.luo.entity.QueryPageBean;
import com.luo.pojo.TravelItem;

import java.util.List;

/**
 * @author Zoro
 * @date 2021年08月23
 */
public interface TravelItemService {

    public abstract void addTravelItem(TravelItem travelItem);

    public abstract PageInfo<TravelItem> pageSelect(QueryPageBean queryPageBean);

    public abstract TravelItem getTravelItemById(Integer id);

    public abstract void editTravelItem(TravelItem travelItem);

    public abstract void deleteTravelItem(Integer id);

    public abstract List<TravelItem> selectAll();
}
